﻿namespace WMS6.Web.BaseInfoDetailServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Diagnostics;
    using System.Runtime.Serialization;

    [Serializable, DebuggerStepThrough, GeneratedCode("System.Runtime.Serialization", "3.0.0.0"), DataContract(Name="PutawayRuleDetailQueryEntity", Namespace="http://schemas.datacontract.org/2004/07/WMS6.QueryEntity")]
    public class PutawayRuleDetailQueryEntity : BaseQuery
    {
        [OptionalField]
        private string CreatedByField;
        [OptionalField]
        private string CreatedDateField;
        [OptionalField]
        private string DimRestriction01Field;
        [OptionalField]
        private string DimRestriction02Field;
        [OptionalField]
        private string DimRestriction03Field;
        [OptionalField]
        private string DimRestriction04Field;
        [OptionalField]
        private string DimRestriction05Field;
        [OptionalField]
        private string DimRestriction06Field;
        [OptionalField]
        private string FromLocField;
        [OptionalField]
        private string IsActiveField;
        [OptionalField]
        private string LineIDField;
        [OptionalField]
        private string LocSelectionField;
        [OptionalField]
        private string LocStateRestriction01Field;
        [OptionalField]
        private string LocStateRestriction02Field;
        [OptionalField]
        private string LocStateRestriction03Field;
        [OptionalField]
        private string LocStateRestriction04Field;
        [OptionalField]
        private string LocStateRestriction05Field;
        [OptionalField]
        private string PaStrategyField;
        [OptionalField]
        private string PutawayRuleIDField;
        [OptionalField]
        private string RowIDField;
        [OptionalField]
        private string ToLocField;
        [OptionalField]
        private string UpdatedByField;
        [OptionalField]
        private string UpdatedDateField;
        [OptionalField]
        private string WhIDField;
        [OptionalField]
        private string ZoneField;

        [DataMember]
        public string CreatedBy
        {
            get
            {
                return this.CreatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedByField, value))
                {
                    this.CreatedByField = value;
                    base.RaisePropertyChanged("CreatedBy");
                }
            }
        }

        [DataMember]
        public string CreatedDate
        {
            get
            {
                return this.CreatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedDateField, value))
                {
                    this.CreatedDateField = value;
                    base.RaisePropertyChanged("CreatedDate");
                }
            }
        }

        [DataMember]
        public string DimRestriction01
        {
            get
            {
                return this.DimRestriction01Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.DimRestriction01Field, value))
                {
                    this.DimRestriction01Field = value;
                    base.RaisePropertyChanged("DimRestriction01");
                }
            }
        }

        [DataMember]
        public string DimRestriction02
        {
            get
            {
                return this.DimRestriction02Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.DimRestriction02Field, value))
                {
                    this.DimRestriction02Field = value;
                    base.RaisePropertyChanged("DimRestriction02");
                }
            }
        }

        [DataMember]
        public string DimRestriction03
        {
            get
            {
                return this.DimRestriction03Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.DimRestriction03Field, value))
                {
                    this.DimRestriction03Field = value;
                    base.RaisePropertyChanged("DimRestriction03");
                }
            }
        }

        [DataMember]
        public string DimRestriction04
        {
            get
            {
                return this.DimRestriction04Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.DimRestriction04Field, value))
                {
                    this.DimRestriction04Field = value;
                    base.RaisePropertyChanged("DimRestriction04");
                }
            }
        }

        [DataMember]
        public string DimRestriction05
        {
            get
            {
                return this.DimRestriction05Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.DimRestriction05Field, value))
                {
                    this.DimRestriction05Field = value;
                    base.RaisePropertyChanged("DimRestriction05");
                }
            }
        }

        [DataMember]
        public string DimRestriction06
        {
            get
            {
                return this.DimRestriction06Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.DimRestriction06Field, value))
                {
                    this.DimRestriction06Field = value;
                    base.RaisePropertyChanged("DimRestriction06");
                }
            }
        }

        [DataMember]
        public string FromLoc
        {
            get
            {
                return this.FromLocField;
            }
            set
            {
                if (!object.ReferenceEquals(this.FromLocField, value))
                {
                    this.FromLocField = value;
                    base.RaisePropertyChanged("FromLoc");
                }
            }
        }

        [DataMember]
        public string IsActive
        {
            get
            {
                return this.IsActiveField;
            }
            set
            {
                if (!object.ReferenceEquals(this.IsActiveField, value))
                {
                    this.IsActiveField = value;
                    base.RaisePropertyChanged("IsActive");
                }
            }
        }

        [DataMember]
        public string LineID
        {
            get
            {
                return this.LineIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LineIDField, value))
                {
                    this.LineIDField = value;
                    base.RaisePropertyChanged("LineID");
                }
            }
        }

        [DataMember]
        public string LocSelection
        {
            get
            {
                return this.LocSelectionField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LocSelectionField, value))
                {
                    this.LocSelectionField = value;
                    base.RaisePropertyChanged("LocSelection");
                }
            }
        }

        [DataMember]
        public string LocStateRestriction01
        {
            get
            {
                return this.LocStateRestriction01Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.LocStateRestriction01Field, value))
                {
                    this.LocStateRestriction01Field = value;
                    base.RaisePropertyChanged("LocStateRestriction01");
                }
            }
        }

        [DataMember]
        public string LocStateRestriction02
        {
            get
            {
                return this.LocStateRestriction02Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.LocStateRestriction02Field, value))
                {
                    this.LocStateRestriction02Field = value;
                    base.RaisePropertyChanged("LocStateRestriction02");
                }
            }
        }

        [DataMember]
        public string LocStateRestriction03
        {
            get
            {
                return this.LocStateRestriction03Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.LocStateRestriction03Field, value))
                {
                    this.LocStateRestriction03Field = value;
                    base.RaisePropertyChanged("LocStateRestriction03");
                }
            }
        }

        [DataMember]
        public string LocStateRestriction04
        {
            get
            {
                return this.LocStateRestriction04Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.LocStateRestriction04Field, value))
                {
                    this.LocStateRestriction04Field = value;
                    base.RaisePropertyChanged("LocStateRestriction04");
                }
            }
        }

        [DataMember]
        public string LocStateRestriction05
        {
            get
            {
                return this.LocStateRestriction05Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.LocStateRestriction05Field, value))
                {
                    this.LocStateRestriction05Field = value;
                    base.RaisePropertyChanged("LocStateRestriction05");
                }
            }
        }

        [DataMember]
        public string PaStrategy
        {
            get
            {
                return this.PaStrategyField;
            }
            set
            {
                if (!object.ReferenceEquals(this.PaStrategyField, value))
                {
                    this.PaStrategyField = value;
                    base.RaisePropertyChanged("PaStrategy");
                }
            }
        }

        [DataMember]
        public string PutawayRuleID
        {
            get
            {
                return this.PutawayRuleIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.PutawayRuleIDField, value))
                {
                    this.PutawayRuleIDField = value;
                    base.RaisePropertyChanged("PutawayRuleID");
                }
            }
        }

        [DataMember]
        public string RowID
        {
            get
            {
                return this.RowIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RowIDField, value))
                {
                    this.RowIDField = value;
                    base.RaisePropertyChanged("RowID");
                }
            }
        }

        [DataMember]
        public string ToLoc
        {
            get
            {
                return this.ToLocField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ToLocField, value))
                {
                    this.ToLocField = value;
                    base.RaisePropertyChanged("ToLoc");
                }
            }
        }

        [DataMember]
        public string UpdatedBy
        {
            get
            {
                return this.UpdatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedByField, value))
                {
                    this.UpdatedByField = value;
                    base.RaisePropertyChanged("UpdatedBy");
                }
            }
        }

        [DataMember]
        public string UpdatedDate
        {
            get
            {
                return this.UpdatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedDateField, value))
                {
                    this.UpdatedDateField = value;
                    base.RaisePropertyChanged("UpdatedDate");
                }
            }
        }

        [DataMember]
        public string WhID
        {
            get
            {
                return this.WhIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.WhIDField, value))
                {
                    this.WhIDField = value;
                    base.RaisePropertyChanged("WhID");
                }
            }
        }

        [DataMember]
        public string Zone
        {
            get
            {
                return this.ZoneField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ZoneField, value))
                {
                    this.ZoneField = value;
                    base.RaisePropertyChanged("Zone");
                }
            }
        }
    }
}

